﻿// Decompiled with JetBrains decompiler
// Type: LayersParser.Objects.Common
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System;
using System.Xml.Linq;


namespace LayersParser.Objects;

[Serializable]
public class Common
{
  private string _name = "";
  private XElement _node;

  public virtual string Name
  {
    get => this._name;
    set
    {
      this._name = value;
      if (this._node == null || this._node.Attribute((XName) nameof (Name)) == null)
        return;
      this._node.Attribute((XName) nameof (Name)).Value = this._name;
    }
  }

  public XElement Node
  {
    get => this._node;
    set => this._node = value;
  }
}
